package com.sina.interfaces.manage.dao.sys;


import com.sina.interfaces.core.BaseDao;
import com.sina.interfaces.domain.sys.Role;

import java.util.List;
import java.util.Map;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * 段浩杰   2017-11-15-12:47
 */
public interface RoleManageDao extends BaseDao {

    Role getRoleByName(String name);

    int deleteRole(Integer id);

    List<Map<String, Object>> getRoleList(Role role);

    Long getRoleCount(Role role);


}
